// JavaScript Document
/*�������� ��һ����ʽ �ڶ�����ʽ ����ʾ��ʽ*/
function setTab(name,cursel,n){
	for(var i=1;i<=n;i++){
		var menu=document.getElementById(name+i);
		var con=document.getElementById(name+i+"Div");
		var conMore=document.getElementById(name+i+"DivMore");
		if(i==cursel){
                    try{

			menu.className = "hover";
			con.style.display = "block";
			conMore.style.display = "block";
                    }
                    catch(e){

                    }
		}else{
                    try{
			menu.className = "";
			con.style.display = "none";
			conMore.style.display = "none";
                    }
                    catch(e){

                    }

		}

		//var con1=document.getElementById("con1_"+name+"_"+i);
		//menu.className=i==cursel?"hover":"";
		//con1.style.display=i==cursel?"block":"none";
	}
}
//function setTab12(name,cursel,n){
	//alert(name+"  "+cursel+" "+n);
	//for(i=1;i<=n;i++){
	//	var menu=document.getElementById(name+i);
	//	var con2=document.getElementById("con2_"+name+"_"+i);
	//	menu.className=i==cursel?"hover":"";
	//	con2.style.display=i==cursel?"block":"none";
	//}
//}
function picjs1(obj, obj1){
	var pic = document.getElementById(obj1);
        var path = document.getElementById('resourePath');
	if(obj.id == 'pic11') {
		obj.src=path.value+"/images/btn03.jpg";
		pic.src=path.value+"/images/btn06.jpg";
	} else if(obj.id == 'pic12') {
		obj.src=path.value+"/images/btn04.jpg";
		pic.src=path.value+"/images/btn05.jpg";
	}
}
//-->
